package groupb6.shopsystem.service;

import groupb6.shopsystem.pojo.res.OrderProductRes;
import groupb6.shopsystem.pojo.entity.User;
import groupb6.shopsystem.util.response.UniversalResponse;

import java.util.List;

public interface CustomerOrderService {
    List<OrderProductRes> getOrder_ProductListByBuyerId();
    OrderProductRes getOrder_ProductListByBuyerIdOne(Integer orderId);

    UniversalResponse<?> userReceive(User currentUser, Integer OrderId);
    UniversalResponse<?> returnOrderCustomer(Integer orderId, String reason);
    UniversalResponse<?> returnOrderSeller(Integer orderId, String trackingNumber);
}
